//
//  TTNotificationsDataSource.m
//  UADE-Mobile
//
//  Created by Nicolas Gschwind on 13/06/12.
//  Copyright (c) 2012 DG. All rights reserved.
//

#import "TTNotificationsDataSource.h"
#import "TTableNotificationItemCell.h"
#import "Three20UI/TTTableSubtitleItem.h"

@implementation TTNotificationsDataSource


- (UIImage*)imageForEmpty {
    return TTIMAGE(@"bundle://Three20.bundle/images/empty.png");
}

- (NSString*)titleForEmpty {
    return NSLocalizedString(@"No new notifications", @"");
}

- (NSString*)subtitleForEmpty {
    return NSLocalizedString(@"Unseen notifications will appear here.", @"");
}

- (UIImage*)imageForError:(NSError*)error {
    return TTIMAGE(@"bundle://Three20.bundle/images/error.png");
}

- (NSString*)subtitleForError:(NSError*)error {
    return NSLocalizedString(@"There was an error loading your notifications.", @"");
}

- (Class)tableView:(UITableView*)tableView cellClassForObject:(id)object {
    return [TTableNotificationItemCell class];
}

/*- (Class)tableView:(UITableView*)tableView cellClassForObject:(id)object {
    return [TTableNotificationItemCell class];
}*/



@end
